/**
 * Abstract Scene
 * @version 1.0
 * @author DavidRonai / http://flash-dungeon.com
 */

function Abstract3DScene(camera, scene, render)
{
	this.camera = camera;
	this.scene = scene;
	this.render = render;
	this.state = "none";
	this.callback = null;
	
	this.transitionIn = function ()
	{
		this.state="opening";
	}
	
	this.transitionOut = function (onComplete)
	{
		onComplete();
		this.state="closing";
	}
	
	this.update = function()
	{
		
	};
	
	this.dispose = function()
	{
		this.camera = null;
		this.scene = null;
		this.render = null;
		this.state = "";
		this.callback = null;
	};
};
